// 导入全部

// 1. 分别导出—全部导入
// import * as fenbie from './01.fenbie.js' // import fenbie from './01.fenbie.js' 报错，default 的导入全部才能这样

// console.log(fenbie.name);
// console.log(fenbie.getTel());
// console.log(fenbie.slogan);


// 2. 统一导出—全部导入
// import * as tongyi from './02.tongyi.js'

// console.log(tongyi.name);
// console.log(tongyi.getTel());
// console.log(tongyi.slogan);


// 3. 默认导出—全部导入
// import * as def from './03.default.js'  // import * as default from './03.default.js' 报错，应为标识符。"default" 是保留字，不能在此处使用

// console.log(def.default.getTel()); // export default { name, motto, getTel }
// console.log(def.default.motto);
// console.log(def.default.name);


// import def from './03.default.js'

// console.log(def.getTel());
// console.log(def.motto);
// console.log(def.name);


// 4. 混合导出—全部导入
// import * as myAll from './04.allimport.js'

// console.log(myAll.name);
// console.log(myAll.slogan);
// console.log(myAll.default()); // export default getTel